<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
	<?php $CustomField = get_post_custom_values('URL'); if (isset($CustomField[0])) { ?>
		<h2><a href="<?php echo get_post_meta($post->ID, URL, true); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
			<div class="entry">
				<?php the_excerpt(); ?>
			</div>
		<p class="postmetadata">Filed in <?php the_category(', ') ?> <?php the_tags('and tagged ', ', ', ''); ?> <small><?php the_time('F jS, Y') ?></small></p>
	<?php } else { ?>
		<h2><del><?php the_title(); ?></del></h2>
		<div class="entry">
			<p>Sorry, this link is broken. Please tell an administrator!</p>
		</div>
		<p class="postmetadata">It's broken: <?php edit_post_link('Fix it!', '', ' | '); ?> Filed in <?php the_category(', ') ?> <?php the_tags('and tagged ', ', ', ''); ?> <small><?php the_time('F jS, Y') ?></small></p>
	<?php } ?>
</div>